package org.box.metadata.shell;

import org.box.metadata.cli.DummyCommandsConfiguration;
import org.box.metadata.shell.exception.TerminatedException;
import org.box.metadata.shell.exception.ValidationException;

public class DymmyCreateHandler implements CommandHandler<DummyCommandsConfiguration> {

	public void validate(DummyCommandsConfiguration cfg, Shell shell) throws ValidationException {
		System.out.println("validation: key = " + cfg.create.key1 + "; file = " + cfg.create.infile);
	}

	public void process(DummyCommandsConfiguration cfg, Shell shell) throws TerminatedException {
		System.out.println("process: key = " + cfg.create.key1 + "; file = " + cfg.create.infile);
	}

}
